#define _CRT_SECURE_NO_WARNINGS 1
#include"Priority_queue.h"

using std::cout;
using std::endl;

int main()
{
	using namespace my_Priority_queue;
	Priority_queue<int> pq;
	//Priority_queue<int, std::deque<int>, greater<int>> pq;
	pq.push(1);
	pq.push(2);
	pq.push(3);
	pq.push(4);
	pq.push(5);
	while (!pq.empty())
	{
		cout << pq.top() << " ";
		pq.pop();
	}
	cout << endl;

	return 0;
}